<template>
  <n-layout-header bordered>
    Header Header Header Header Header Header
    Header Header Header
    Header Header Header
    Header Header Header

  </n-layout-header>
</template>

<script setup>
import {NLayoutHeader} from 'naive-ui'
</script>


<style scoped lang="scss">
@import '@/assets/styles/var.scss';

.x-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 var(--side-padding);
  background-color: $primaryColorHover;
  color: #fff;
}

.user {
  cursor: pointer;

  &__item {
    margin-left: 5px;
  }
}

.triangle {
  transform: rotateZ(90deg);
}

.rt__item {
  padding: 4px 8px;
  border-radius: 5px;

  &:hover {
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.4s;

    .triangle {
      transform: rotateZ(-90deg);
      transition: all 0.4s;
    }
  }

  + .rt__item {
    margin-left: 5px;
  }
}

.system-name {
  display: flex;
  align-items: center;
  min-width: 32px;

  .logo {
    padding: 2px;
    background: #ffffff;
    width: 120px;
    border-radius: 4px;
    margin-right: 20px;
  }

  .name {
    font-size: 18px;
    padding: 0 10px;
  }
}

.store {
  cursor: pointer;

  &__id {
    color: rgba(255, 255, 255, 0.8);
  }
}

@media (max-width: 850px) {
  .x-header {
    .breadcrumb {
      display: none;
    }
  }
}

@media (max-width: 750px) {
  .x-header {
    padding: 0 17px;

    .system-name {
      .name {
        display: none;
      }
    }

    .store__name .dt,
    .user__item,
    .help-text {
      display: none;
    }
  }
}
</style>